
public class ArrayTest {

	public static void main(String[] args) {
		
//		int[] arr = {1, 3, 4, 5, 2};
		int[] arr = new int[20];
		
		System.out.println("arr 배열의 크기: " + arr.length);
		
		// for (초기작업;반복조건;증가값) {
		for (int i = 0; i < arr.length; i++) {
			System.out.println(arr[i]);
		}
		
//		System.out.println(arr[0]);
//		System.out.println(arr[1]);
//		System.out.println(arr[2]);
//		System.out.println(arr[3]);
//		System.out.println(arr[4]);
//		System.out.println(arr[5]);
		
//		int num = 0;
//		
//		System.out.println(++num);
//		System.out.println(++num);
//		System.out.println(++num);
	}
	
}








